#!/bin/sh
if test $# -eq 0; then
  echo "$0 <label>";
  exit $1
fi
echo "Label : $1"
echo "Press Return to continue!"
read dummy
/usr/atria/bin/cleartool mklbtype -nc $1
/usr/atria/bin/cleartool mklabel -rep $1 `/usr/atria/bin/cleartool lsco -recurse -cview -fmt "%Xn\n"`

